package com.dd.dao.Impl;

import com.dd.dao.OrderDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository("OrderNewDao")
public class OrderNewDaoImpl implements OrderDao {
    @Value("${newName}")
    private String newName;
    @Value("${newMoney}")
    private String newMoney;
    @Value("${color}")
    private String color;

    @Override
    public void getOrder() {
        System.out.println("新手机是"+newName);
        System.out.println("新手机的价格是"+newMoney);
        System.out.println("新手机的颜色是"+color);
    }
}
